package cn.ruanyun.backInterface.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

/**
 * @program: ruanyun
 * @description:
 * @author: fei
 * @create: 2020-02-13 11:29
 **/
public enum SignCheckEnum {


    /**
     * 待审核
     */
    PRE_CHECK(2,"待审核合同"),

    /**
     * 待乙方签署
     */
    PRE_PART_TWO_SIGN(3, "待乙方签署"),

    /**
     * 待甲方签署
     */
    PER_PART_ONE_SIGN(4, "待甲方签署"),

    /**
     * 待归档
     */
    PRE_PART_SAVE(5,"待归档"),

    /**
     * 完成合同
     */
    COMPLETE(6, "完成合同"),

    /**
     * 审核失败
     */
    CHECK_FAIL(7,"审核失败！");


    SignCheckEnum(int code, String value) {
        this.code = code;
        this.value = value;
    }

    @JsonValue
    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public int getCode() {
        return code;
    }

    @EnumValue
    private final  int code;
    private  String value;

}

